<div class="box_right">
	<h1>
		油站信息
	</h1>
	
	<div class="pro_box layui-form">
		<div class="des">
			<div class="left">
				<p>商户名称：<?php echo $gasstation->gasstation_name; ?></p>
				<p>注册地址：<?php echo $gasstation->address; ?></p>
				<p>经纬坐标：<?php echo $gasstation->longitude.','.$gasstation->latitude; ?></p>
				<p>创建时间：<?php echo $gasstation->create_time; ?></p>
				<p>更新时间：<?php echo $gasstation->update_time; ?></p>
			</div>
			<div class="right"> 
				<img src="<?php echo base_url()?>themes/gasstation/images/9.png"  />
			</div>
			<div class="clear"></div>
		</div>
		<?php if (in_array('gasstation/gasstation/edit_gasstation', $_SESSION['GASSTATION_ACL_ARR'])){?>
		<div class="layui-col-xs1 layui-col-xs-offset1">
  			<a href="<?php echo base_url()."gasstation/gasstation/edit_gasstation/" .$gasstation->id;?>" class="btn_get" style="background: #F18101;">编辑</a>
  		</div>
  		<?php }?>
	</div>
</div>
<script>
//Demo
layui.use(['form','element','laydate'], function(){
  var form = layui.form,
  	element = layui.element,
  	laydate = layui.laydate;
  
  //监听提交
  form.on('submit(formDemo)', function(data){
    layer.msg(JSON.stringify(data.field));
    return false;
  });
});
</script>